//
//  PickerUI.swift
//  uiKit-demo
//
//  Created by 陈澎 on 2024/12/25.
//

import UIKit
class MyPickerUI: UIViewController {
    func render(_ self: AnyObject) {
        let pickerView = UIPickerView()
        pickerView.frame = CGRect(x: 20, y: 1220, width: 280, height: 200)
        // 设置代理
        pickerView.delegate = self
        // 设置数据源
        pickerView.dataSource = self
        self.addSubview(pickerView)
    }
}
